# coding=utf-8
import pygame

from lib.Core.Battlefield import Battlefield


def main():
    pygame.init()
    display = pygame.display.set_mode([1280, 768], 0, 32)
    b1 = Battlefield()
    while True:
        b1.run()
        display.fill([255, 255, 255])
        for event in pygame.event.get():
            if event.type is pygame.QUIT:
                quit()
        pygame.display.update()


if __name__ == '__main__':
    main()
